package com.bobby.service;

import com.bobby.pojo.User;

import java.sql.SQLException;

/**
 * @Description TODO
 * @Date 2020/8/13 11:00
 * @Created wenjunpei
 */
public interface UserService {

    void registerUser(User user) throws SQLException;
    User login(User user) throws SQLException;
    boolean existsUsername(String username) throws SQLException;

}
